/**
 * Created by lx on 2017/5/16.
 */
angular.module('module.verification.template', [
])

    .config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) {
        $stateProvider
            .state('verification', {
                'abstract': true,
                url: '',
                views: {
                    '': {
                        template: '<div ui-view="topbar"></div><div ui-view="main"></div>'
                    },
                    'topbar@verification': {
                        templateUrl: template_viewurl+"/topbar.html",
                        controller: 'TopbarController'
                    },
                    'main@verification': {
                        templateUrl: template_viewurl+"/main.html",
                        controller: 'MainController'
                    }
                }
            })

    }])

    .controller('TopbarController', ['$scope','$state', function($scope,$state) {
    }])
    .controller('MainController', ['$scope','$state', function($scope,$state) {
        $scope.operatorbar=home_sidebars
    }])